﻿using L.EntityFramework;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace L.EntityModel
{
    [Table("AntiFleeing_Distributor")]
    public class AntiFleeing_Distributor : BaseEntity
    {
        /// <summary>
        ///  
        /// </summary>
        [Key]
        public int? Id { get; set; }

        /// <summary>
        ///  经销商名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///  经销商地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        ///  联系人负责人
        /// </summary>
        public string Contacts { get; set; }

        /// <summary>
        ///  联系电话
        /// </summary>
        public string ContactsTel { get; set; }

        /// <summary>
        ///  等级编号
        /// </summary>
        public int? LevelID { get; set; }

        /// <summary>
        ///  等级名称
        /// </summary>
        public string LevelName { get; set; }

        /// <summary>
        ///  销售片区编号
        /// </summary>
        public int? SalesAreaID { get; set; }

        /// <summary>
        ///  经销商所在省
        /// </summary>
        public int? Province { get; set; }

        /// <summary>
        ///  经销商所在市
        /// </summary>
        public int? City { get; set; }

        /// <summary>
        ///  经销商所在区
        /// </summary>
        public int? Region { get; set; }

        /// <summary>
        ///  接受电话
        /// </summary>
        public string AcceptTel { get; set; }

        /// <summary>
        ///  可用短信数量
        /// </summary>
        public int? SMSInUse { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public int? EnterpriseId { get; set; }

        /// <summary>
        ///  删除状态0未删除1已删除
        /// </summary>
        public int? ViewDel { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public int? Sequence { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public int? CreateLoginID { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public string CreateLoginName { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public int? ChangeLoginID { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public string ChangeLoginName { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public System.DateTime? ChangeDate { get; set; }

        /// <summary>
        ///  手机
        /// </summary>
        public string ContactMobile { get; set; }

        /// <summary>
        ///  邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        ///  是否公开1标识公开0标识未公开
        /// </summary>
        public int? IsPublic { get; set; }

        /// <summary>
        ///  负责省份名称
        /// </summary>
        public string JurisdictionPrivanceName { get; set; }

        /// <summary>
        ///  负责城市集合
        /// </summary>
        public string JurisdictionCity { get; set; }

        /// <summary>
        ///  负责城市名称
        /// </summary>
        public string JurisdictionCityName { get; set; }

        /// <summary>
        ///  负责区集合
        /// </summary>
        public string JurisdictionRegion { get; set; }

        /// <summary>
        ///  负责区名称
        /// </summary>
        public string JurisdictionRegionName { get; set; }

        /// <summary>
        ///  负责省份集合
        /// </summary>
        public string JurisdictionPrivance { get; set; }

        /// <summary>
        ///  是否跨片区
        /// </summary>
        public int? IsCrossArea { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        ///  负责省份名称
        /// </summary>
        public string AcrossPrivanceName { get; set; }

        /// <summary>
        ///  负责城市集合
        /// </summary>
        public string AcrossCity { get; set; }

        /// <summary>
        ///  负责城市名称
        /// </summary>
        public string AcrossCityName { get; set; }

        /// <summary>
        ///  负责区集合
        /// </summary>
        public string AcrossRegion { get; set; }

        /// <summary>
        ///  负责区名称
        /// </summary>
        public string AcrossRegionName { get; set; }

        /// <summary>
        ///  负责省份集合
        /// </summary>
        public string AcrossPrivance { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 证书地址
        /// </summary>
        public string CredentialImg { get; set; }

        [NotMapped]
        public string DisLevelName { get; set; }
        [NotMapped]
        public string SalesArea { get; set; }
        [NotMapped]
        public string ProvinceName { get; set; }
        [NotMapped]
        public string CityName { get; set; }
        [NotMapped]
        public string RegionName { get; set; }
        [NotMapped]
        public string FormCode { get; set; }
        [NotMapped]
        public string WlCodeNum { get; set; }


    }



}
